﻿using System;
using System.Collections.Generic;
using System.Data;
using System.Linq;
using System.Text;

namespace CRM.BLL
{
    public class PartsSuppliersB
    {
        #region PartsSuppliers
        /// <summary>
        /// 获取PartsSuppliers信息
        /// </summary>
        public DataTable GetPartsSuppliers(ref CRM.MODEL.GetPartsSuppliers stu)
        {
            CRM.DAL.PartsSuppliersD obj = new CRM.DAL.PartsSuppliersD();
            DataTable dt = obj.ExecuteGetPartsSuppliers(ref stu);
            obj.Dispose();
            return dt;
        }

        /// <summary>
        /// 编辑PartsSuppliers信息
        /// </summary>
        public int EditPartsSuppliers(ref CRM.MODEL.EditPartsSuppliers stu)
        {
            CRM.DAL.PartsSuppliersD obj = new CRM.DAL.PartsSuppliersD();
            int effectRow = obj.ExecuteEditPartsSuppliers(ref stu);
            obj.Dispose();
            return effectRow;
        }
        #endregion
    }
}
